package com.tz.mapper;

import com.tz.entity.Research;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

/**
 * Created by 于大海 on 2018/1/2.
 *
 */
@MapperScan
public interface ResearchsMapper {
    /**
     * 按月查询
     */
    List<Research> selectMonth(@Param("monthData") String monthData);

    /**
     * 按季度查询
     */
    List<Research> selectQuarter(@Param("startData") String startData, @Param("endDate") String endDate);
    /**
     * 按年查询
     */
    List<Research> selectYear(@Param("yearData") String yearData);
}
